
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8"/>
	<title>{{v('config.webname')}}</title>
	<meta name="csrf-token" content="">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link rel="shortcut icon" href="favicon.ico" type="image/x-icon"/>
    <script>
        //模块配置项
        var hdjs = {
            //框架目录
            'base': '{{__ROOT__}}/node_modules/hdjs',
            //上传文件后台地址
            'uploader': "{{u('component.upload.uploader')}}",
            //获取文件列表的后台地址
            'filesLists': "{{u('component.upload.filesLists')}}",
        };
    </script>
	<link href="{{__ROOT__}}/node_modules/hdjs/css/bootstrap.min.css" rel="stylesheet">
	<link href="{{__ROOT__}}/node_modules/hdjs/css/font-awesome.min.css" rel="stylesheet">
	<script src="{{__ROOT__}}/node_modules/hdjs/app/util.js"></script>
	<script src="{{__ROOT__}}/node_modules/hdjs/require.js"></script>
	<script src="{{__ROOT__}}/node_modules/hdjs/config.js"></script>
	<link href="{{__ROOT__}}/resource/css/hdcms.css" rel="stylesheet">
	<script>
        require(['jquery'], function ($) {
            //为异步请求设置CSRF令牌
            $.ajaxSetup({
                headers: {
                    'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
                }
            });
        })
        if (navigator.appName == 'Microsoft Internet Explorer') {
            if (navigator.userAgent.indexOf("MSIE 5.0") > 0 || navigator.userAgent.indexOf("MSIE 6.0") > 0 || navigator.userAgent.indexOf("MSIE 7.0") > 0) {
                alert('您使用的 IE 浏览器版本过低, 推荐使用 Chrome 浏览器或 IE8 及以上版本浏览器.');
            }
        }
	</script>
</head>
<body class="site">
<div class="container-fluid admin-top">
	<!--导航-->
	<nav class="navbar navbar-inverse">
		<div class="container-fluid">
			<div class="navbar-header">
				<ul class="nav navbar-nav">

					<li>
						<a href={{__ROOT__}}>
							<i class="fa fa-reply-all"></i> 返回系统
						</a>
					</li>

                    <li class="top_menu ">

                        <a href="{{u('admin.category.index')}}">
                            <i class="'fa-w fa fa-cubes"></i> 文章系统                        </a>
                    </li>
					<li class="top_menu ">
						<a href="{{u('wechat.config.setting')}}">
							<i class="'fa-w fa fa-comments-o"></i> 微信功能                        </a>
					</li>
                    <li class="top_menu active">
                        <a href="{{u('system.module.index')}}">
                            <i class="'fa-w fa fa-comments-o"></i> 系统功能                        </a>
                    </li>
                    <li class="top_menu ">
                        <a href="{{u('system.module.index')}}">
                            <i class="'fa-w fa fa-arrows"></i> 模块管理                        </a>
                    </li>
				</ul>
			</div>
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav navbar-right">


					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">
							<i class="fa fa-w fa-user"></i>
                            {{Session::get('admin.admin_username')}}
                            <span class="caret"></span>
						</a>
						<ul class="dropdown-menu">
							<li><a href="{{u('admin.entry.changePassword')}}">修改密码</a></li>
							<li role="separator" class="divider"></li>
							<li><a href="?s=admin/login/out">退出</a></li>
						</ul>
					</li>
				</ul>
			</div>
		</div>
	</nav>
	<!--导航end-->
</div>
<!--主体-->
<div class="container-fluid admin_menu">
	<div class="row">
		<div class="col-xs-12 col-sm-3 col-lg-2 left-menu">
			<div class="search-menu">
				<input class="form-control input-lg" type="text" placeholder="输入菜单名称可快速查找"
					   onkeyup="search(this)">
			</div>
			<!--扩展模块动作 start-->
			<div class="panel panel-default">

                <!--系统设置-->
                <div class="panel-heading">
                    <h4 class="panel-title">系统设置</h4>
                    <a class ="panel-collapse" data-toggle="collapse" href="javascript:;">
                        <i class="fa fa-chevron-circle-down"></i>
                    </a>
                </div>
                <ul class="list-group menus">
                    <li class = "list-group-item">
                        <a href="{{u('system.config.setting')}}">网站配置</a>
                    </li>
                </ul>

                <div class="panel-heading">
                    <h4 class="panel-title">网站备份</h4>
                    <a class="panel-collapse" data-toggle="collapse" href="javascript:;">
                        <i class="fa fa-chevron-circle-down"></i>
                    </a>
                </div>
                <ul class="list-group menus">
                    <li class="list-group-item">
                        <a href="{{u('system.backup.index')}}">备份列表</a>
                    </li>
                    <li class="list-group-item">
                        <a href="{{u('system.backup.run')}}">执行备份</a>
                    </li>
                </ul>
				<!----------返回模块列表 start------------>
				<!--模块列表-->
				<!--模块列表 end-->
			</div>
		</div>
		<div class="col-xs-12 col-sm-9 col-lg-10">
			<!--有模块管理时显示的面包屑导航-->
            <blade name="content"/>
		</div>
	</div>
</div>
<div class="master-footer">
	<a href="http://www.houdunwang.com">猎人训练</a>
	<a href="http://www.hdphp.com">开源框架</a>
	<a href="http://bbs.houdunwang.com">后盾论坛</a>
	<br>
	Powered by hdcms v2.0 © 2014-2019 www.hdcms.com
    <br>
    站长邮箱:{{v('config.email')}}   客服电话:{{v('config.tel')}}
    <br>
    备案信息:{{v('config.icp')}}
</div>
<script src="http://dev.hdcms.com/resource/js/menu.js"></script>
<script src="http://dev.hdcms.com/resource/js/quick_navigate.js"></script>
<script>
    require(['bootstrap']);
</script>

</body>
</html>

<style>
	table{
		table-layout: fixed;
	}
</style>